import './App.css';
import React, {Component} from "react"
import Navbar from "./components/Navbar"
import InputBox from "./components/InputBox"
import Borard from "./components/Borard"

class App extends Component{
  receiveChildComponetsMessage=(message)=>{
    console.log(message);
    console.log(this);
  }
render(){
  return (
    <div className="App">
      <Navbar title="我是自定义标题"
      sendMessage={this.receiveChildComponetsMessage}>
      </Navbar>
      
      <Borard/>
      <InputBox/>
    </div>
  );
}
}
export default App;
